package com.tms.domain;

import java.util.Date;

/**
 * 发送信息类
 *
 * @author sxy
 */
public class Mailbox {

    public Mailbox() {
    }

    public Mailbox(int id, User sender, User receiver, int status, String message, Date time) {
        this.id = id;
        this.sender = sender;
        this.receiver = receiver;
        this.status = status;
        this.message = message;
        this.time = time;
    }

    private int id;

    private User sender;

    private User receiver;

    private int status;

    private String message;

    private Date time;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public User getSender() {
        return sender;
    }

    public void setSender(User sender) {
        this.sender = sender;
    }

    public User getReceiver() {
        return receiver;
    }

    public void setReceiver(User receiver) {
        this.receiver = receiver;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }
}